﻿using System.Xml.Serialization;

namespace ABC.Domain.Serialization
{
    public class Osago
    {
        [XmlAttribute]
        public string UniqueNumber { get; set; }

        public string OwnerTs { get; set; }

        public bool RegisterInForeign { get; set; }

        public bool ToPlaceRegister { get; set; }

        public string CategoryTs { get; set; }

        public string RegionId { get; set; }

        public string RegionName { get; set; }

        public int Power { get; set; }

        public int UsePeriod { get; set; }

        public string Drivers { get; set; }

        public int MinAge { get; set; }

        public int MinPeriod { get; set; }

        public string ClassDriver { get; set; }

        public int MinKbm { get; set; }

        public OsagoResult Result { get; set; }

        public Osago()
        {
            Result = new OsagoResult();
        }
    }
}
